#ifndef SIPTRANB2BSESSION_HPP__
#define SIPTRANB2BSESSION_HPP__

#include "SipGDServiceConfigure.hpp"

#include "SipB2BSession.hpp"

namespace wtsip{

class CSipTranSession;
class CSipGDService;

class WTGD_SIPSRV_PUBLIC CSipTranB2bSession: public CSipB2BSession
{
public:

    CSipTranB2bSession(CSipGDService& srv, CSipTranSession& caller, CSipTranSession& callee);

    ~CSipTranB2bSession();

    virtual bool startCaller(SipMessage& calleeReq);

protected:

    virtual bool onSuccess(SipMessage& msg, CSipSessionBase& sb);

    virtual bool onFailed(SipMessage& msg, CSipSessionBase& sb);

    virtual bool onTrying(SipMessage& msg, CSipSessionBase& sb);

    virtual bool onDestroy(CSipSessionBase& sb);

private:

    //resip::Data m_callerId;

    //resip::Data m_calleeId;
};



}//namespace

#endif


